package com.unknow.first.dapp.admin.account.mapper;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value = "t_system_address")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_system_address")
public class TSystemAddress {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "")
    private Integer id;

    @TableField(value = "address")
    @ApiModelProperty(value = "")
    private String address;

    /**
     * 系统账户类型， 10：手续费账户 11：烧伤账户 及其它业务自定义的账户枚举继承ISystemAddressTypeEnum
     */
    @TableField(value = "address_type")
    @ApiModelProperty(value = "系统账户类型， 10：手续费账户 11：烧伤账户 及其它业务自定义的账户枚举继承ISystemAddressTypeEnum")
    private Integer addressType;

    /**
     * 系统账户类型国际化翻译
     */
    @TableField(value = "address_type_i18n")
    @ApiModelProperty(value = "系统账户类型国际化翻译")
    private String addressTypeI18n;

    /**
     * 系统账户类型名称
     */
    @TableField(value = "address_type_name")
    @ApiModelProperty(value = "系统账户类型名称")
    private String addressTypeName;

    /**
     * 状态：10（可用）99（禁用）
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value = "状态：10（可用）99（禁用）")
    private Integer status;

    @TableField(value = "CREATED_BY")
    @ApiModelProperty(value = "")
    private String createdBy;

    @TableField(value = "CREATED_DATE", insertStrategy = FieldStrategy.NEVER, updateStrategy = FieldStrategy.NEVER)
    @ApiModelProperty(value = "")
    private Date createdDate;

    @TableField(value = "UPDATED_BY")
    @ApiModelProperty(value = "")
    private String updatedBy;

    @TableField(value = "UPDATED_DATE", insertStrategy = FieldStrategy.NEVER, updateStrategy = FieldStrategy.NEVER)
    @ApiModelProperty(value = "")
    private Date updatedDate;

    public static final String COL_ID = "id";

    public static final String COL_ADDRESS = "address";

    public static final String COL_ADDRESS_TYPE = "address_type";

    public static final String COL_ADDRESS_TYPE_I18N = "address_type_i18n";

    public static final String COL_ADDRESS_TYPE_NAME = "address_type_name";

    public static final String COL_STATUS = "status";

    public static final String COL_CREATED_BY = "CREATED_BY";

    public static final String COL_CREATED_DATE = "CREATED_DATE";

    public static final String COL_UPDATED_BY = "UPDATED_BY";

    public static final String COL_UPDATED_DATE = "UPDATED_DATE";
}